﻿using ProjectFootball.MVC.Foundation.ResourceLibrary;
using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectFootball.MVC.Areas.MatchArea.Models
{
    public class MatchEventDataModel
    {
        public Guid MatchEventGuid { get; set; }
        public Guid ApprovalGuid { get; set; }

        [Display(Name = "Match")]
        [Required]
        public Guid MatchGuid { get; set; }

        public Guid TeamGuid { get; set; }

        [Display(Name = "Player")]
        [Required]
        public Guid PersonGuid { get; set; }

        [Display(Name = "Event")]
        public MatchEventType MatchEventType { get; set; }

        public short Minute { get; set; }

        public short? Extra { get; set; }
    }
}